from django.conf.urls.defaults import patterns, url

urlpatterns = patterns('web.views',
	url(r'^$', 'process_url', name='process_url'),
	url(r'^(?P<index>\d+)/$', 'process_url', name='process_url_index'),
	url(r'^(?P<slug>[-\w]+)/$', 'process_url', name='process_url_slug'),
	url(r'^(?P<slug>[-\w]+)/(?P<index>\d+)/$', 'process_url', name='process_url_slug_index'),
)
